# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>

buildarch=4

pkgname=firmware-peach
pkgver=1.0
pkgrel=1
pkgdesc="Additional firmware for Peach chromebooks"
arch=('armv7h')
url="https://archlinuxarm.org"
license=('custom')
source=('sd8787_uapsta.bin'::'https://archlinuxarm.org/builder/src/sd8787_uapsta_cros.bin'
        'sd8797_uapsta.bin'::'https://archlinuxarm.org/builder/src/sd8797_uapsta_cros.bin'
        'sd8897_uapsta.bin'::'https://archlinuxarm.org/builder/src/sd8897_uapsta_cros.bin')
md5sums=('bda543cb5943eac34e16d12911f3ee99'
         'dc6da2272ffb8ea63f10bc4457cc3f70'
         '5d74feddd86b9c1e6cd23704795cc7d7')

package() {
  install -m 0755 -d "${pkgdir}/usr/lib/firmware/updates/mrvl"
  install -m 0644 *.bin "${pkgdir}/usr/lib/firmware/updates/mrvl"
}
